﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SuKienMaster.Master" AutoEventWireup="true" CodeBehind="KhuVuc.aspx.cs" Inherits="QuanLySuKien.KhuVuc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentMain" runat="server">
    <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Blue" 
        Height="30px" Width="260px">Quản Lý Khu Vực</asp:Label>
        <asp:GridView ID="GridView1" runat="server" 
        Height="117px" Width="740px" EnableModelValidation="True" 
        AutoGenerateColumns="False" 
            onselectedindexchanged="GridView1_SelectedIndexChanged" BackColor="White" 
            BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            GridLines="Vertical" >
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
        <HeaderStyle BackColor="#000084" ForeColor="White" Font-Bold="True" />
            <AlternatingRowStyle BackColor="#DCDCDC" />
        <Columns>
            <asp:BoundField DataField="MaKV" HeaderText="Mã Khu Vực"> 
            <HeaderStyle HorizontalAlign="Left" />
        </asp:BoundField>
            <asp:BoundField DataField="TenKhuVuc" HeaderText="Tên Khu Vực">
            <HeaderStyle HorizontalAlign="Left" />
        </asp:BoundField> 
            <asp:BoundField DataField="Mota" HeaderText="Mô Tả">
            <HeaderStyle HorizontalAlign="Left" />
        </asp:BoundField>
            <asp:CommandField ShowSelectButton="True" />
             
        </Columns>
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <table>
        <tr>
        <td class="style2">
            Mã Khu Vực*
        </td>
        <td class="style1">
            <asp:TextBox ID="txtMaKV" runat="server" Width="260px"></asp:TextBox>
        </td>  
    </tr>

    <tr>
        <td class="style2">
            Tên Khu Vực*
        </td>
        <td class="style1">
            <asp:TextBox ID="txtTenKV" runat="server" Width="260px"></asp:TextBox>
        </td>  
    </tr>
    <tr>
        <td class="style2">
            Mô Tả
        </td>
         <td class="style1">
            <asp:TextBox ID="txtMoTa" runat="server" Width="260px" TextMode="MultiLine"></asp:TextBox>
        </td>   
    </tr>
    <br />
    <asp:Label ID="StatusLabel" runat="server"></asp:Label>
    </table>
    <table cellpadding="4" cellspacing="4" style="height: 49px; width: 740px;" >
    <tr>
        <td class="style2">
            <asp:Button ID="Button1" runat="server" Text="Thêm" onclick="Button1_Click" 
                BackColor="#3366FF" Font-Bold="True" ForeColor="Black" />
        </td>
        <td class="style1">
            <asp:Button ID="Button2" runat="server" Text="Sửa" onclick="Button2_Click" 
                BackColor="#3366FF" Font-Bold="True" />
        </td>
        <td class="style1">
            <asp:Button ID="Button3" runat="server" Text="Xóa" onclick="Button3_Click" 
                BackColor="#3366FF" Font-Bold="True" 
                onclientclick="return confirm(&quot;Bạn Muốn Xóa ?&quot;)" />
        </td>
        <td class="style1">
            <asp:Button ID="Button4" runat="server" Text="Hủy" onclick="Button4_Click" 
                BackColor="#3366FF" Font-Bold="True" />
        </td>
        
        <td class="style1">
            
            <asp:LinkButton ID="LinkButton1" runat="server">EXIT</asp:LinkButton>
            
        </td>
    </tr>
    </table>
</asp:Content>
